package com.xls.box2023.home;

import com.lzz.bottomencapsulation.customview.statelayout.StateLayout;
import com.lzz.bottomencapsulation.eventbus.MessageEvent;
import com.xls.box2023.entity.AccountBalanceEntity;
import com.xls.box2023.entity.UserEntity;
import com.xls.box2023.mvp.BasePresenter;
import com.xls.box2023.mvp.BaseView;

import java.util.Map;

import androidx.recyclerview.widget.RecyclerView;

/**
 * MVPPlugin
 */

public class HomeContract {
    interface View extends BaseView {

        void showNum(AccountBalanceEntity requestData);

        void showUserInfo(UserEntity requestData);

        void stopRefishView();

        StateLayout getStateView();

        RecyclerView getListview();

        void showShareBtn(boolean b);
    }

    interface  Presenter extends BasePresenter<View> {

        RecyclerView.Adapter getYouXiListAdapter();

        void onRefresh();

        void onLoadMore();

        void stopDownloadFile();

        void getAccountBalance();

        void fkCheck(Map<String, String> stringStringMap);//较验风控参数

        void getPermissions();

        void getAppShareButtion();

        void userReg();//绑定渠道关系

        void refishAPPData(MessageEvent messageEvent);
    }
}
